const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  publicPath: '/chart/',
	lintOnSave: false,
  devServer: {
    host: '0.0.0.0',
    port: 80,
    open: true,
    proxy: {
      '/api': {
        target: 'http://lxdc.bit.edu.cn/twin',
        // target: 'http://139.224.186.44:4012',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
})
